//
// Decompiled by Jadx - 346ms
//
package me.plusne.common.Json.Soul;

import java.io.Serializable;

public class JsonSoulAutoMessage implements Serializable {
    String authorIdEcpt;
    private long postId;
    String signature;
    String text;
    int type;

    public boolean canEqual(Object obj) {
        return obj instanceof JsonSoulAutoMessage;
    }

    public boolean equals(Object obj) {
        if (obj == this) {
            return true;
        }
        if (!(obj instanceof JsonSoulAutoMessage)) {
            return false;
        }
        JsonSoulAutoMessage jsonSoulAutoMessage = (JsonSoulAutoMessage) obj;
        if (!jsonSoulAutoMessage.canEqual(this) || getPostId() != jsonSoulAutoMessage.getPostId() || getType() != jsonSoulAutoMessage.getType()) {
            return false;
        }
        String authorIdEcpt = getAuthorIdEcpt();
        String authorIdEcpt2 = jsonSoulAutoMessage.getAuthorIdEcpt();
        if (authorIdEcpt != null ? !authorIdEcpt.equals(authorIdEcpt2) : authorIdEcpt2 != null) {
            return false;
        }
        String signature = getSignature();
        String signature2 = jsonSoulAutoMessage.getSignature();
        if (signature != null ? !signature.equals(signature2) : signature2 != null) {
            return false;
        }
        String text = getText();
        String text2 = jsonSoulAutoMessage.getText();
        return text != null ? text.equals(text2) : text2 == null;
    }

    public String getAuthorIdEcpt() {
        return this.authorIdEcpt;
    }

    public long getPostId() {
        return this.postId;
    }

    public String getSignature() {
        return this.signature;
    }

    public String getText() {
        return this.text;
    }

    public int getType() {
        return this.type;
    }

    public int hashCode() {
        long postId = getPostId();
        int type = getType() + ((((int) (postId ^ (postId >>> 32))) + 59) * 59);
        String authorIdEcpt = getAuthorIdEcpt();
        int hashCode = (type * 59) + (authorIdEcpt == null ? 43 : authorIdEcpt.hashCode());
        String signature = getSignature();
        int hashCode2 = (hashCode * 59) + (signature == null ? 43 : signature.hashCode());
        String text = getText();
        return (hashCode2 * 59) + (text != null ? text.hashCode() : 43);
    }

    public void setAuthorIdEcpt(String str) {
        this.authorIdEcpt = str;
    }

    public void setPostId(long j) {
        this.postId = j;
    }

    public void setSignature(String str) {
        this.signature = str;
    }

    public void setText(String str) {
        this.text = str;
    }

    public void setType(int i) {
        this.type = i;
    }

    public String toString() {
        return "JsonSoulAutoMessage(postId=" + getPostId() + ", authorIdEcpt=" + getAuthorIdEcpt() + ", signature=" + getSignature() + ", type=" + getType() + ", text=" + getText() + ")";
    }
}
